package com.myapp.forms;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class AjoutStageForm extends ActionForm{
    private String nom;
    private String prenom;
    private String promotion;
    private int nCandidat;
    private String choix;

    public String getNom() {
        return nom;
    }

    public int getnCandidat() {
        return nCandidat;
    }

    public String getChoix() {
        return choix;
    }

    public void setChoix(String choix) {
        this.choix = choix;
    }

    public void setnCandidat(int nCandidat) {
        this.nCandidat = nCandidat;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public String getPrenom() {
        return prenom;
    }

    public void setPrenom(String prenom) {
        this.prenom = prenom;
    }

    public String getPromotion() {
        return promotion;
    }

    public void setPromotion(String promotion) {
        this.promotion = promotion;
    }
    
    
	
	/**
	 * Methode qui v�rifie la validit� des propri�t�s
	 */
	@Override
	public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) {
		return new ActionErrors();
	}

}
